package com.clouds.wms.dao;
import com.clouds.wms.bean.Salmh;
import com.clouds.wms.exception.DatabaseException;
import com.clouds.wms.util.PagesBean;

public interface SalmhDao {
	PagesBean getSalmhList(String mgaa, String mgab, int offset,int pageSize) throws DatabaseException;
	int saveSalmh(Salmh salmh) throws DatabaseException;
	int updateSalmh(Salmh salmh) throws DatabaseException;
	int getMaxMhac() throws DatabaseException;
	int delSalmh(String mhaa,String mhab,String mhacs) throws DatabaseException;
	int changeStatus(String mhaa, String mhab, String status)throws DatabaseException;
	void delSalmhByAaAb(String mgaa, String mgab)throws DatabaseException;
}
